package com.bidbid.home.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.bidbid.home.service.IHomeService;

@Controller
public class HomeController {
	
//	@Autowired
//	private IHomeService homeService;
	
	@RequestMapping("/home.html")
	public String homePage(ModelMap modelMap){
		modelMap.addAttribute("bids", null);
		return "home";
	}
	
	@RequestMapping("/today.html")
	public String todayPage(ModelMap modelMap){
		modelMap.addAttribute("topbid", null);
		return "today";
	}
	
}
